package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 任务与接收人关联对象 task_recipients
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class TaskRecipients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID（关联tasks.id） */
    private Long taskId;

    /** 接收人ID（关联users.id） */
    private Long userId;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("userId", getUserId())
            .toString();
    }
}
